[]
Collection that wraps another collection to be shown in pages of a maximum number of items.
public class C1PagedDataCollection<T> : C1WrapDataCollection<T>, IDataCollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, ISupportIndexing<T>, INotifyPropertyChanged, IDisposable, ISupportSorting, ISupportFiltering, ISupportGrouping, ISupportVirtualization, ISupportConnection, ISupportAsyncLoading<T>, ISupportIncrementalLoading, ISupportRefreshing, ISupportRangeEditing<T>, ISupportEditing<T>, ISupportCreateNewItem<T>, ISupportSource, ISupportPaging where T : class?
Public Class C1PagedDataCollection(Of T As Class)
Inherits C1WrapDataCollection(Of T)
Implements IDataCollection(Of T), IReadOnlyList(Of T), IReadOnlyCollection(Of T), IEnumerable(Of T), IEnumerable, INotifyCollectionChanged, ISupportIndexing(Of T), INotifyPropertyChanged, IDisposable, ISupportSorting, ISupportFiltering, ISupportGrouping, ISupportVirtualization, ISupportConnection, ISupportAsyncLoading(Of T), ISupportIncrementalLoading, ISupportRefreshing, ISupportRangeEditing(Of T), ISupportEditing(Of T), ISupportCreateNewItem(Of T), ISupportSource, ISupportPaging
| Name | Description |
|---|---|
| T |
| Name | Description |
|---|---|
| C1PagedDataCollection(IEnumerable) | Initializes a new instance of the C1PagedDataCollection<T> class. |
| Name | Description |
|---|---|
| CurrentPage | Gets the current page number. |
| PageSize | Gets or sets the maximum number of items per page. |
| PagesCount | Gets the total number of pages in the collection. |
| TotalCount | Gets the total number of items in the collection. |
| Name | Description |
|---|---|
| Dispose(bool) | Called to dispose resources. |
| MoveToPageAsync(int, CancellationToken) | Moves to the page |
| OnSourceCollectionChanged(object?, NotifyCollectionChangedEventArgs) | Called when the source collection changed. |